package com.it.park.dao;

import com.it.park.model.QuestionOperation;

/**
 * @author Administrator
 *收藏、关注表
 */
public interface QuestionOperationMapper {

	QuestionOperation selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(QuestionOperation record);

	int updateByPrimaryKey(QuestionOperation record);

	int deleteByPrimaryKey(Integer id);

    int insert(QuestionOperation record);

    int insertSelective(QuestionOperation record);

    /**
     * 根据用户和问题ID及类型，判断是否收藏和关注
     */
    QuestionOperation selectByOperation(QuestionOperation record);
    
}